//
//  PublicFunction.h
//  takeout
//
//  Created by Derekc on 12-3-8.
//  Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface PublicFunction : NSObject

+ (void) CreateImageFolder;
+(NSString *) getLocalImagePath:(NSString *)imgUrl;
+(NSString *) getLocalImageName:(NSString *)imgUrl;
+ (UIImage*) imageWithName:(NSString*) name;
+ (void) saveImageData:(NSData*) imageData withName:(NSString*)name;
+ (BOOL) isExistImage:(NSString*) imgUrl;
+ (UIImage *)resizeImage:(UIImage*)image newSize:(CGSize)newSize;
@end
